.class Lcom/estrongs/android/ui/dialog/b0$d;
.super Ljava/lang/Object;
.source "MultiFilePropertyDialog.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/b0;->n()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/b0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/b0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/b0;->a(Lcom/estrongs/android/ui/dialog/b0;)Landroid/content/Context;

    move-result-object p1

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/b0;->c(Lcom/estrongs/android/ui/dialog/b0;)Landroid/content/Context;

    move-result-object p1

    instance-of p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p1, :cond_2

    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->p()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/b0;->q:Landroid/app/Dialog;

    if-eqz p1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    .line 4
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/b0;->d(Lcom/estrongs/android/ui/dialog/b0;)Landroid/content/Context;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->R()V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/b0;->g:Ljava/util/List;

    const/4 v0, 0x0

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    .line 6
    instance-of v0, p1, Les/d20;

    if-eqz v0, :cond_1

    .line 7
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    .line 8
    :cond_1
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p1

    .line 9
    :goto_0
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->o()Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->a(Ljava/lang/String;Lcom/estrongs/android/pop/app/analysis/n;)V

    goto :goto_1

    .line 10
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/b0;->e(Lcom/estrongs/android/ui/dialog/b0;)Les/h70;

    move-result-object p1

    if-eqz p1, :cond_4

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {p1}, Lcom/estrongs/android/ui/dialog/b0;->e(Lcom/estrongs/android/ui/dialog/b0;)Les/h70;

    move-result-object p1

    invoke-virtual {p1}, Les/h70;->D()Les/h70$a;

    move-result-object p1

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object v1, v0, Lcom/estrongs/android/ui/dialog/b0;->u:Lcom/estrongs/android/pop/app/diskusage/a;

    if-nez v1, :cond_3

    if-eqz p1, :cond_3

    .line 13
    new-instance v1, Lcom/estrongs/android/pop/app/diskusage/a;

    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    invoke-static {v2}, Lcom/estrongs/android/ui/dialog/b0;->f(Lcom/estrongs/android/ui/dialog/b0;)Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2, p1}, Lcom/estrongs/android/pop/app/diskusage/a;-><init>(Landroid/content/Context;Les/h70$a;)V

    iput-object v1, v0, Lcom/estrongs/android/ui/dialog/b0;->u:Lcom/estrongs/android/pop/app/diskusage/a;

    :cond_3
    if-eqz p1, :cond_4

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/b0;->u:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/diskusage/a;->b(Les/h70$a;)V

    .line 15
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/b0;->u:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/b0;->s:Landroid/widget/ProgressBar;

    invoke-virtual {p1}, Landroid/widget/ProgressBar;->getVisibility()I

    move-result p1

    if-nez p1, :cond_4

    .line 17
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/b0$d;->a:Lcom/estrongs/android/ui/dialog/b0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/b0;->u:Lcom/estrongs/android/pop/app/diskusage/a;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/diskusage/a;->a()V

    :cond_4
    :goto_1
    return-void
.end method
